package cn.edu.wynu;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext context =
                new ClassPathXmlApplicationContext("beans.xml");
        Object student = context.getBean("zrk");
        System.out.println(student);
    }
}
